# Description: Thunar dosya yöneticisi
# URL: http://thunar.xfce.org
# Packagers: milisarge
# Depends on: libnotify libexif exo xfce4-libui xfce4-panel desktop-file-utils

name=thunar
version=1.6.10
release=1

source=(http://archive.xfce.org/src/xfce/thunar/${version%.*}/Thunar-$version.tar.bz2
		no-root-warning.patch)
build() {
cd Thunar-$version
patch $SRC/Thunar-1.6.10/thunar/thunar-window.c $SRC/no-root-warning.patch
./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --libexecdir=/usr/lib \
    --localstatedir=/var \
    --disable-static \
    --enable-gio-unix \
    --enable-dbus \
    --enable-startup-notification \
    --enable-gudev \
    --enable-notifications \
    --enable-exif \
    --enable-pcre \
    --disable-debug
make
make DESTDIR=$PKG install
sed -i 's:x-directory/gnome-default-handler;::' \
    $PKG/usr/share/applications/Thunar-folder-handler.desktop
}
